package com.lh.biz.dto.in.cart;

import javax.validation.constraints.NotNull;

import com.lh.biz.dto.BaseInDto;

/**
 * @author liuhui
 * @version 1.0
 * @date 2013-5-1 下午4:51:14
 */
public class AddItemInDto extends BaseInDto {

	/**
	 * 
	 */
	private static final long serialVersionUID = -257536944498488327L;
	@NotNull
	private Long productId;
	@NotNull
	private Integer quantity;
	private Long cartId;
	
	
	public Long getCartId() {
		return cartId;
	}
	public void setCartId(Long cartId) {
		this.cartId = cartId;
	}
	public Long getProductId() {
		return productId;
	}
	public void setProductId(Long productId) {
		this.productId = productId;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	
	
}
